package com.cindata

/**
 * 价格指数*/
class CommunityPriceIndex
{

    Long communityId
    String risk
    BigDecimal communityIndex
    BigDecimal rateYearMonth
    // 环比
    BigDecimal rateLastYearMonth
    //同比

    String statsDate

    static constraints = {
        risk nullable: true, blank: true, maxSize: 64
        communityIndex precision: 7, scale: 2, nullable: true, blank: true
        rateYearMonth precision: 5, scale: 2, nullable: true, blank: true
        rateLastYearMonth precision: 5, scale: 2, nullable: true, blank: true

        statsDate nullable: true, blank: true, maxSize: 10
    }
}
